﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
//using System.ComponentModel.DataAnnotations.Schema;

namespace CodeCamp.Model
{
    //[Table("cc_Tasks_TimeSlots")]
    public class Tasks_Timeslot
    {
        //[Key]
        //[DatabaseGenerated(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        //[ForeignKey("Task")]
        public int TaskId { get; set; }

        [Required]
        public virtual Task Task { get; set; }

        //[ForeignKey("TaskTimeslot")]
        public int TaskTimeslotId { get; set; }

        [Required]
        public TaskTimeslot TaskTimeslot { get; set; }
    }
}
